package com.tool.btn;

import java.awt.*;
import java.awt.event.MouseEvent;

import com.tool.tcpimg.UIUtils;
import org.come.mouslisten.ChangeMouseSymbolMouslisten;

import javax.swing.*;

public class MouseStyleBtn extends MoBanBtn {

	private String FlagMes;

	public MouseStyleBtn(String iconpath, int type, String FlagMes) {
		super(iconpath, type);
		this.FlagMes = FlagMes;
	}



	public MouseStyleBtn(final String iconpath, final int type, final String FlagMes, final String text) {
		super(iconpath, type, UIUtils.COLOR_BTNPUTONG2);
		this.FlagMes = FlagMes;
		this.setText(text);
		this.setVerticalTextPosition(SwingConstants.CENTER);
		this.setHorizontalTextPosition(SwingConstants.CENTER);
		this.setFont(UIUtils.TEXT_HY88);
	}





	@Override
    public void chooseyes() {
		
	}

	@Override
    public void chooseno() {
		
	}

	@Override
    public void nochoose(MouseEvent e) {
		ChangeMouseSymbolMouslisten.dianji(FlagMes);
	}
}
